﻿using Rail.Start.Viewer;


namespace Rail.Start.Controller
{
    class OpenEngineeringFormCommand : Base.BaseCommand
    {
        public override void Execute(PureMVC.Interfaces.INotification notification)
        {
            OpenEngineeringForm of = new OpenEngineeringForm();
            OpenEngineeringFormMediator ofm = new OpenEngineeringFormMediator(of);
            Facade.RemoveMediator(ofm.MediatorName);
            Facade.RegisterMediator(ofm);
            of.ShowDialog();
        }
    }
}
